#  author:张靖昆 date:2020/3/16 name:test IDE:PyCharm
import requests
# 搜索的目的地
url='https://www.bilibili.com/v/game/stand_alone/?spm_id_from=333.5.b_7375626e6176.2#/'
# 搜索的内容
condition={"search":"游戏"}
# 发送请求的主体
user_agent='User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36'
# 伪装成浏览器
my_headers={"User-Agent":user_agent}
response=requests.get(url,params=condition,headers=my_headers)

print(response.text)



